package com.hzw.saas.web.admin.user.param;

import javax.validation.constraints.NotBlank;

import com.hzw.saas.api.user.query.UserRightsProp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zzl
 * @since 04/09/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("客户权益级别更新")
public class CustomerLevelUpdateParam extends UserRightsProp {

    private static final long serialVersionUID = -7575644357090802328L;

    /**
     * 客户编号
     */
    @ApiModelProperty(value = "客户编号", position = 1, required = true)
    @NotBlank(message = "客户编号不可为空")
    private String customerNo;

    /**
     * 会员权益级别
     */
    @ApiModelProperty(value = "会员权益级别(id)", position = 2)
    @NotBlank(message = "设置的会员等级不能为空")
    private String customerLevel;


}
